package com.zk.qqrobot.controller;

import com.zk.qqrobot.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/activity")
public class ActivityController {
    @Autowired
    private ActivityService activityService;

    @GetMapping("/save")
    public String save(String qq,String group) {
        return activityService.activity(qq,group);
    }

    @GetMapping("/acs")
    public String acs(String group){
        return activityService.acs(group);
    }
}
